<template>
    <div>
        <div class="head">
            <span class="iconfont icon-arrow-left-bold" @click.stop="gotoUp"></span>
            <div class="title">手动打款支付</div>
        </div>
        <div class="content">
            <div class="box">
                <div class="num">
                    订单号：<span>{{ this.$route.query.orderId }}</span>
                </div>
                <div class="money">
                    需支付：<span
                        >￥<strong>{{ this.$route.query.price }}</strong></span
                    >
                </div>
            </div>
            <div class="pay-box">
                <div class="tit">收款信息<span>（手动打款需后台验证后交付订单，请耐心等待）</span></div>
                <div class="text">
                    <p>请打款到这里。</p>
                    <p>
                        <img src="@/assets/img/pay.png" alt="" />
                    </p>
                </div>
            </div>
            <div class="btn" @click.stop="gotoHome">
                <div>我已完成支付</div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    methods: {
        gotoUp() {
            this.$router.push({
                path: "/user",
                query: {},
            });
        },
        gotoHome() {
            this.$router.push({
                path: "/",
                query: {},
            });
        },
    },
};
</script>

<style lang="less" scoped>
.head {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    z-index: 100;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f2f6;
    span {
        font-size: 19px;
        position: absolute;
        top: 50%;
        margin-top: -10px;
        left: 4%;
    }
    .title {
        flex: 1;
        font-size: 17px;
        font-weight: 500;
        text-align: center;
        color: #333;
        line-height: 22px;
        overflow: hidden;
    }
}
.content {
    position: absolute;
    left: 0;
    top: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    padding-top: 50px;
    background: #f6f6f6;
    .box {
        width: 100%;
        height: 105px;
        background: #fff;
        display: flex;
        flex-direction: column;
        padding: 20px 15px;
        margin-top: 10px;
        .num {
            width: 100%;
            height: 15px;
            font-size: 15px;
            font-weight: 600;
            color: #333;
            line-height: 15px;
            margin-bottom: 33px;
            span {
                margin-left: 10px;
                font-weight: 400;
                color: #666;
            }
        }
        .money {
            width: 100%;
            height: 20px;
            font-size: 15px;
            font-weight: 600;
            color: #333;
            line-height: 20px;
            span {
                height: 20px;
                font-size: 14px;
                font-weight: 600;
                color: #ff5858;
                line-height: 20px;
                strong {
                    font-size: 18px;
                }
            }
        }
    }
    .pay-box {
        width: 100%;
        height: auto;
        background: #fff;
        display: flex;
        flex-direction: column;
        padding: 20px 15px;
        margin-top: 10px;
        .tit {
            width: 100%;
            height: 15px;
            font-size: 15px;
            font-weight: 600;
            color: #333;
            line-height: 15px;
            span {
                font-size: 12px;
                line-height: 15px;
                font-weight: 400;
            }
        }
        .text {
            width: 100%;
            height: auto;
            font-size: 15px;
            font-weight: 400;
            color: #666;
            line-height: 24px;
            margin-top: 20px;
        }
    }
    .btn {
        width: 100%;
        height: 46px;
        padding: 0 15px;
        margin-top: 30px;
        display: flex;
        justify-content: center;
        div {
            width: 100%;
            height: 46px;
            background: #3ca7fa;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 400;
            color: #fff;
        }
    }
}
</style>
